Fast garbage compaction with interior pointers
نویسنده
چکیده
This paper presents a garbage compaction algorithm, which extends the well-known algorithm of Jonkers with the ability to handle interior pointers. It is as efficient as Jonkers’ algorithm in the absence of interior pointers, and in practice only slightly less efficient in the presence of interior pointers, while at the same time, it does not impose any additional space overhead. This, however, is partly due to the fact that only certain kinds of interior pointers are allowed.
منابع مشابه
Incremental Collection of Mature Objects
We present a garbage collection algorithm that extends generational scavenging to collect large older generations (mature objects) non-disruptively. The algorithm’s approach is to process bounded-size pieces of mature object space at each collection; the subtleties lie in guaranteeing that it eventually collects any and all garbage. The algorithm does not assume any special hardware or operatin...
متن کاملSpace and Time-Efficient Hashing of Garbage-Collected Objects
The hashCode() method found in the JavaTM programming language, and similar methods in other languages, map an arbitrary object to an integer value that is constant for the lifetime of the object. We review existing implementations of the hash operation, specifying the kinds of memory systems for which they work. Then we propose a new implementation of hashing for the hardest case: memory syste...
متن کاملA Compacting Garbage Collector for Erlang
By utilising the fact that all data in the heap in an Erlang implementation may be arranged so that all pointers go towards earlier allocated objects, a compacting garbage collection algorithm has been designed. In contrast to a copying garbage collection algorithm, only one memory space is used. In fact, no extra memory is used at all, not even any reserved bits within the cells. The algorithm...
متن کاملCombining Single-Space and Two-Space Compacting Garbage Collectors
The garbage collector presented in this paper makes use of two well known compaction garbage collection algorithms with very diierent performance characteristics: Cheney's two-space copying collector and Jon-ker's single-space sliding compaction collector. We propose a scheme which allows either collector to be used. The run-time memory requirements of the program being executed are used to det...
متن کاملUsing Virtual Addresses as Object References
Most object-oriented systems that support distributed or persistent data structures use software-interpreted object identi ers for inter-object referencing. These identi ers are often called pointer surrogates, because they are used as substitutes for virtual memory pointers. Surrogates are the traditional means of referencing objects that are viewed as existing \outside" of an application's vi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011